package cn.laike.modules.dev.service;

import java.util.List;
import java.util.Map;

import org.springframework.data.repository.query.Param;

import com.baomidou.mybatisplus.service.IService;

import cn.laike.common.utils.PageUtils;
import cn.laike.modules.dev.entity.EarnestMoneyOrderEntity;

/**
 * 押金记录
 *
 * @author ziye
 * @email 524748907@qq.com
 * @date 2019-03-02 11:23:33
 */
public interface EarnestMoneyOrderService extends IService<EarnestMoneyOrderEntity> {

    PageUtils queryPage(Map<String, Object> params);
    
    EarnestMoneyOrderEntity getByOrderNo(String orderNo);
    
    /**
	 * 获取我的押金
	 * @param openid
	 * @return
	 */
	Double getMyTotalMoney(String openid);
	
	 List<Double> statTotalMoney(Long uid,Integer hotelId, String startTime, String endTime);
}

